﻿namespace ConfApp.Models.Dto
{
    public class SlotDto
    {
        public int ID { get; set; }
        public int DayID { get; set; }
        public string Type { get; set; }
        public byte StartHour { get; set; }
        public byte StartMinute { get; set; }
        public byte FinishHour { get; set; }
        public byte FinishMinute { get; set; }

        public override string ToString()
        {
            return string.Format("[{0}] [{1}] {2:00}:{3:00}-{4:00}:{5:00}", 
                ID, DayID,StartHour,StartMinute,FinishHour,FinishMinute);
        }
    }
}
